package totoCharts;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.datastore.Key;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import com.google.appengine.api.datastore.Text;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class oldForm {
	@PrimaryKey    
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)    
	private Key key;    
	@Persistent 
	private Text form;
	@Persistent 
	private int waveID;
	@Persistent 
	private String date;

	public oldForm(int waveID, String form, String Date){
		this.form=new Text(form);
		this.waveID=waveID;
		this.date=Date;
	}
	
	public String getForm(){
		return this.form.getValue();
	}

	public String getDate() {
		return date;
	}

	public int getWaveID() {
		return waveID;
	}

	public Key getKey() {
		return key;
	}
				
			
}
